﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace net.xBei.WebApi.Configurations {
    /// <summary>
    /// 自动配置
    /// </summary>
    public interface IAutoLoadConfigurations {
    }
    /// <summary>
    /// 指定配置子节名称
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public class AutoLoadConfigurationsAttribute : Attribute {
        /// <summary>
        /// 指定配置子节名称
        /// </summary>
        public string SectionName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="sectionName"></param>
        public AutoLoadConfigurationsAttribute(string sectionName) {
            SectionName = sectionName;
        }
    }
}
